package com.mes.integration.hbydMPM.domain;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("operation")
public class MpmOperation  {


	private List<MpmItem> materials;
	private List<MpmCutter> cutters;
	private List<MpmClamper> clampers;
	private List<MpmMeasurer> measurers;
	private List<MpmAssistItem> assistItems;
	private List<MpmMeasurement> measurements;
	private List<MpmFile> files;
	
	
	private List<MpmOpResource> opResources;
	private List<MpmConsumeItem> consumeItems;
	private List<MpmOpFile> opFiles;
	private List<MpmOpMeasurement> opMeasurements;
	
	@XStreamAsAttribute
	private String outUniqueId;
	@XStreamAsAttribute
	private String operationIdDesc;
	@XStreamAsAttribute
	private String operationId;
	@XStreamAsAttribute
	private String operationName;
	@XStreamAsAttribute
	private String operationContent;
	
	@XStreamAsAttribute
	private Double prepareTime;
	@XStreamAsAttribute
	private Double runTime;
	@XStreamAsAttribute
	private String workCenterUid;
	@XStreamAsAttribute
	private String outRoutingUid;
	@XStreamAsAttribute
	private String refRoutingUid;
	@XStreamAsAttribute
	private Boolean isDelete;
	
	@XStreamAlias("routing")
	private MpmRouting refRouting;
	
	public List<MpmItem> getMaterials() {
		return materials;
	}
	public void setMaterials(List<MpmItem> materials) {
		this.materials = materials;
	}
	public List<MpmCutter> getCutters() {
		return cutters;
	}
	public void setCutters(List<MpmCutter> cutters) {
		this.cutters = cutters;
	}
	public List<MpmClamper> getClampers() {
		return clampers;
	}
	public void setClampers(List<MpmClamper> clampers) {
		this.clampers = clampers;
	}
	public List<MpmMeasurer> getMeasurers() {
		return measurers;
	}
	public void setMeasurers(List<MpmMeasurer> measurers) {
		this.measurers = measurers;
	}
	public List<MpmMeasurement> getMeasurements() {
		return measurements;
	}
	public void setMeasurements(List<MpmMeasurement> measurements) {
		this.measurements = measurements;
	}
	public List<MpmFile> getFiles() {
		return files;
	}
	public void setFiles(List<MpmFile> files) {
		this.files = files;
	}
	public String getOutUniqueId() {
		return outUniqueId;
	}
	public void setOutUniqueId(String outUniqueId) {
		this.outUniqueId = outUniqueId;
	}
	public String getOperationIdDesc() {
		return operationIdDesc;
	}
	public void setOperationIdDesc(String operationIdDesc) {
		this.operationIdDesc = operationIdDesc;
	}
	public String getOperationId() {
		return operationId;
	}
	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}
	public String getOperationName() {
		return operationName;
	}
	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}
	public String getOperationContent() {
		return operationContent;
	}
	public void setOperationContent(String operationContent) {
		this.operationContent = operationContent;
	}
	public Double getPrepareTime() {
		return prepareTime;
	}
	public void setPrepareTime(Double prepareTime) {
		this.prepareTime = prepareTime;
	}
	public Double getRunTime() {
		return runTime;
	}
	public void setRunTime(Double runTime) {
		this.runTime = runTime;
	}
	public String getWorkCenterUid() {
		return workCenterUid;
	}
	public void setWorkCenterUid(String workCenterUid) {
		this.workCenterUid = workCenterUid;
	}
	public String getOutRoutingUid() {
		return outRoutingUid;
	}
	public void setOutRoutingUid(String outRoutingUid) {
		this.outRoutingUid = outRoutingUid;
	}
	public Boolean getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}
	public String getRefRoutingUid() {
		return refRoutingUid;
	}
	public void setRefRoutingUid(String refRoutingUid) {
		this.refRoutingUid = refRoutingUid;
	}
	public List<MpmOpResource> getOpResources() {
		return opResources;
	}
	public void setOpResources(List<MpmOpResource> opResources) {
		this.opResources = opResources;
	}
	public List<MpmConsumeItem> getConsumeItems() {
		return consumeItems;
	}
	public void setConsumeItems(List<MpmConsumeItem> consumeItems) {
		this.consumeItems = consumeItems;
	}
	public List<MpmOpFile> getOpFiles() {
		return opFiles;
	}
	public void setOpFiles(List<MpmOpFile> opFiles) {
		this.opFiles = opFiles;
	}
	public List<MpmOpMeasurement> getOpMeasurements() {
		return opMeasurements;
	}
	public void setOpMeasurements(List<MpmOpMeasurement> opMeasurements) {
		this.opMeasurements = opMeasurements;
	}
	public MpmRouting getRefRouting() {
		return refRouting;
	}
	public void setRefRouting(MpmRouting refRouting) {
		this.refRouting = refRouting;
	}
	public List<MpmAssistItem> getAssistItems() {
		return assistItems;
	}
	public void setAssistItems(List<MpmAssistItem> assistItems) {
		this.assistItems = assistItems;
	}

}